package com.example.CarManagement.sys.service;

import com.example.CarManagement.common.Result;
import com.example.CarManagement.sys.entity.Notification;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.CarManagement.sys.entity.Orders;

/**
 * <p>
 * 通知表 服务类
 * </p>
 *
 * @author 徐佳彪
 * @since 2025-07-08
 */
public interface INotificationService extends IService<Notification> {

    Result<?> selfNotice(String token);

    Result<?> add(Notification notification, String token);

    Result<?> addSystemNotice(String userId, String num, String content);

    Result<?> selectPage(Integer pageNo, Integer pageSize, String token);
}
